package io.xxx.cyb.client


//@FeignClient
//@RequestMapping("/platforms")
//interface PlatformClient {
//
//    @GetMapping("/{pid}")
//    fun getPlatform(@PathVariable pid: String): Platform?
//}
//
//@FeignClient
//@RequestMapping("/stores")
//interface StoreClient {
//
//    /**
//     * 返回的门店信息默认包含平台信息。
//     */
//    @GetMapping("/{sid}")
//    fun getStore(@PathVariable sid: String, @RequestParam("fully") fully: Boolean = true): Store?
//
//}
//
//@Service
//class StoreService {
//
//    @Autowired
//    private lateinit var storeClient: StoreClient
//
////    @Cacheable("store")
//    fun getStore(sid: String): Store? {
//        return storeClient.getStore(sid)
//    }
//}